package com.hb.trade.api.im;

import org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration;
import org.fzzn.core.apidoc.EnableApiDoc;
import org.fzzn.core.auth.shiro.anno.EnableFzznShiro;
import org.fzzn.core.web.anno.EnableWebConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 即时通讯服务
 *
 * @author zhaojk
 */
@EnableApiDoc
@EnableFzznShiro
@EnableWebConfig
@EnableScheduling
@EnableFeignClients(basePackages = {
        "com.hb.trade.client.*"
})
@EnableDiscoveryClient
@SpringBootApplication(exclude = {
        ShiroWebFilterConfiguration.class
})
public class ApiImApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiImApplication.class, args);
    }

}
